/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package core;

import persistence.SysUser;

/**
 *
 * @author Ivan
 */

public interface IUserDAO extends IDAO<SysUser> {

    SysUser authorize(String login, String password);
    
    SysUser getOwnerByLeague(int idLeague);
    
    SysUser getOwnerByTournament(int idTournament);
    
    SysUser getOwnerByTeam(int idTeam);
    
    SysUser getOwnerByGame(int idGame);
    
    SysUser getOwnerByPlayer(int idPlayer);
}
